package cn.school.course.entity;

import cn.school.common.utils.SysUserUtils;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Description  排课计划
 * @Author  fangjin.tao
 * @Date 2023-01-04 
 */

@TableName("t_course_plan" )
@Data
@ApiModel
public class CoursePlan implements Serializable {
	
	
	private static final long serialVersionUID = -5429728689415334148L;
	private Long id;
	
	@ApiModelProperty("学年学期ID")
	private Long tetiId;

	@ApiModelProperty("科目ID")
	private Long subjId;
	
	@ApiModelProperty("班级ID")
	private Long scclId;
	
	@ApiModelProperty("节次ID")
	private Long coseId;
	
	@ApiModelProperty("老师ID")
	private Long syusId;
	
	@ApiModelProperty("教室ID")
	private Long bsloId;
	
	@ApiModelProperty("课程星期数序号")
	private String coplWeekDayNos;
	
	@ApiModelProperty("课程星期数序号列表")
	@TableField(exist = false)
	private List<String> coplWeekDayNoList;
	
	@ApiModelProperty("课程星期数描述")
	private String coplWeekDayName;
	
	@ApiModelProperty("课程开始周")
	private int coplBeginWeekNo;
	
	@ApiModelProperty("课程结束周")
	private int coplEndWeekNo;
	
	@ApiModelProperty("单双周:d-双周, s-单周; 不填则是自然周")
	private String coplIsDuboleWeek;

	/**
	 * 课程生成状态：0-未生成，1生成中，2-部分生成，3-全部生成
	 */
	private String coplCourseGennerStatus;

	/**
	 * 课程生成进度:第几周
	 */
	private int coplCourseGennerWeekNo;

	/**
	 * 备注
	 */
	private String remarks;

	/**
	 * 创建时间
	 */
	private Date createTime;

	/**
	 * 修改时间
	 */
	private Date modifyTime;
	/**
	 * 默认租户为当前登录人的租户
	 */
	private String tenantId = SysUserUtils.getSysUser().getTenantId();

}
